package com.izhangqian.signproject.service;

import android.accessibilityservice.AccessibilityService;
import android.view.accessibility.AccessibilityEvent;

import com.izhangqian.signproject.utils.LogUtils;

public class MyAccessibilityService extends AccessibilityService {

    private static final String TAG = "MyHelpService";
    private static AccessibilityService mService;

    @Override
    public void onCreate() {
        super.onCreate();
        LogUtils.i(TAG, "here oncreate");
        mService = this;
    }

    public static AccessibilityService getService() {
        return mService;
    }
    @Override
    public void onAccessibilityEvent(AccessibilityEvent event) {
        LogUtils.i(TAG, "here  event: " + event);
    }

    @Override
    public void onInterrupt() {
        LogUtils.i(TAG, "here  on interrupt ");
    }
}
